package dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Schema(description = "登录数据传输对象")
@AllArgsConstructor
@NoArgsConstructor
public class LoginDTO implements Serializable {
    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;
}